package com.video.system.domain;

import com.video.common.annotation.Excel;
import com.video.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 评论对象 video_comment
 * 
 * @author lyh
 * @date 2021-07-20
 */
public class VideoComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论ID */
    private Integer coId;

    /** 评论编码 */
    @Excel(name = "评论编码")
    private String coCode;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String comments;

    /** 评论者编码 */
    @Excel(name = "评论者编码")
    private String userCode;

    /** 所评论课程编码 */
    @Excel(name = "所评论课程编码")
    private String courseCode;

    public void setCoId(Integer coId) 
    {
        this.coId = coId;
    }

    public Integer getCoId() 
    {
        return coId;
    }
    public void setCoCode(String coCode) 
    {
        this.coCode = coCode;
    }

    public String getCoCode() 
    {
        return coCode;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }
    public void setUserCode(String userCode) 
    {
        this.userCode = userCode;
    }

    public String getUserCode() 
    {
        return userCode;
    }
    public void setCourseCode(String courseCode) 
    {
        this.courseCode = courseCode;
    }

    public String getCourseCode() 
    {
        return courseCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("coId", getCoId())
            .append("coCode", getCoCode())
            .append("comments", getComments())
            .append("userCode", getUserCode())
            .append("courseCode", getCourseCode())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
